package com.itcncp.wechat.app.dao.mapper;

import com.itcncp.wechat.app.dao.model.ItcsTerminalLinksRgt;
import com.itcncp.wechat.app.dao.model.ItcsTerminalLinksRgtExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ItcsTerminalLinksRgtMapper {
    long countByExample(ItcsTerminalLinksRgtExample example);

    int deleteByExample(ItcsTerminalLinksRgtExample example);

    int deleteByPrimaryKey(String connectId);

    int insert(ItcsTerminalLinksRgt record);

    int insertSelective(ItcsTerminalLinksRgt record);

    List<ItcsTerminalLinksRgt> selectByExample(ItcsTerminalLinksRgtExample example);

    ItcsTerminalLinksRgt selectByPrimaryKey(String connectId);

    int updateByExampleSelective(@Param("record") ItcsTerminalLinksRgt record, @Param("example") ItcsTerminalLinksRgtExample example);

    int updateByExample(@Param("record") ItcsTerminalLinksRgt record, @Param("example") ItcsTerminalLinksRgtExample example);

    int updateByPrimaryKeySelective(ItcsTerminalLinksRgt record);

    int updateByPrimaryKey(ItcsTerminalLinksRgt record);
}